Skip to content

fix(desktop): size file references like inline code - #4054

Merged
LHagfoss merged 1 commit into
mainfrom
fix/desktop-inline-path-chip
Nov 19, 2026
Merged

LHagfoss merged 1 commit into
mainfrom
fix/desktop-inline-path-chip

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

Summary

File references in replies (inline code that names a path, drawn blue) were taller and larger than the code around them: they rendered as a <button>, an inline block whose em padding was measured at body size, with the text at 0.9em. That raised the line they sat in.

They now render as an inline span with the same pill, 0.85em mono size and box-decoration-break: clone as plain inline code, keeping the accent colour, the click-to-open, and keyboard access (role="link", Enter/Space).

Changelog

File references in replies are now the same size as inline code and no longer stretch the line.

@github-actions github-actions Bot added the fix A bug fix label Nov 19, 2026
@LHagfoss
LHagfoss merged commit 523cdac into main Nov 19, 2026
9 checks passed
@LHagfoss
LHagfoss deleted the fix/desktop-inline-path-chip branch November 19, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants